package com.atguigu.dao;

import com.atguigu.base.BaseService;
import com.atguigu.entity.RolePermission;

import java.util.List;

public interface RolePermissionDao extends BaseService<RolePermission> {
    List<Long> findPermissionByRoleId(Long roleId);

    void deleteByRoleId(Long roleId);

}
